package com.neu.dao;

import com.neu.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserDao {

    @Select("select * from t_user where name=#{name}")
    public User findUserByName(String name);
}
